<?php

namespace example\db;

class TestRecord {
    /**
     * @var string id.
     * @autoValue (value="uuid")
     * @primary
     */
    private $_id;
    /**
     * @var int type.
     */
    private $_type;
    /**
     * @var int user id.
     * @alias("user_id")
     */
    private $_userId;
    /**
     * @var int record id.
     * @alias("record_id")
     * @autoValue (value=\example\utils\BeanAutoValFillUtils::getRecordId, id="77", "make")
     */
    private $_recordId;
    /**
     * @var string create time.
     * @alias ("create_time")
     * @autoValue (value=\example\utils\BeanAutoValFillUtils::time)
     */
    private $_createTime;

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->_id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->_id = $id;
    }

    /**
     * @return mixed
     */
    public function getType()
    {
        return $this->_type;
    }

    /**
     * @param mixed $type
     */
    public function setType($type)
    {
        $this->_type = $type;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->_userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->_userId = $userId;
    }

    /**
     * @return mixed
     */
    public function getRecordId()
    {
        return $this->_recordId;
    }

    /**
     * @param mixed $recordId
     */
    public function setRecordId($recordId)
    {
        $this->_recordId = $recordId;
    }

    /**
     * @return mixed
     */
    public function getCreateTime()
    {
        return $this->_createTime;
    }

    /**
     * @param mixed $createTime
     */
    public function setCreateTime($createTime)
    {
        $this->_createTime = $createTime;
    }
}